//
//  Dragon_Logger.m
//
//
//  Created by debin xu on 14-5-16.
//  Copyright (c) 2014年 JCKJ. All rights reserved.
//


#import "XSJZZJCLogger.h"

@interface XSJZZJCLogger ()

+ (void)logMessage:(const char *)func line:(int)line format:(NSString *)fmt valist:(va_list)args level:(NSString *)level;
@end

@implementation XSJZZJCLogger
+ (void)logInfo:(const char *)func line:(int)line msg:(NSString *)fmt, ...
{
    va_list args;
    va_start(args, fmt);
    [self logMessage:func line:line format:fmt valist:args level:@"INFO"];
    va_end(args);
}

+ (void)logError:(const char *)func line:(int)line msg:(NSString *)fmt, ...
{
    va_list args;
    va_start(args, fmt);
    [self logMessage:func line:line format:fmt valist:args level:@"ERROR"];
    va_end(args);
}

+ (void)logMessage:(const char *)func line:(int)line format:(NSString *)fmt valist:(va_list)args level:(NSString *)level
{
    NSString *message = [[NSString alloc] initWithFormat:fmt arguments:args];
    
}
@end
